﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MvcVietAir.Models;

namespace MvcVietAir.Controllers
{
    public class NewsController : Controller
    {
        private RepositoryNews repoNews = new RepositoryNews();
        //
        // GET: /News/

        public ActionResult Index()
        {
            return View();
        }
        public ActionResult Details(string id)
        {
            News news = repoNews.Single(id);
            ViewData["NewDetails"] = news;
            return View(news);
        }

        public ActionResult HotelIndex()
        {
            return View();
        }
        public ActionResult HotelIn()
        {
            return View();
        }
        public ActionResult HotelOut()
        {
            return View();
        }
        public ActionResult HotelDetails()
        {
            return View();
        }

        public ActionResult TourIndex()
        {
            return View();
        }
        public ActionResult TourIn()
        {
            return View();
        }
        public ActionResult TourOut()
        {
            return View();
        }
        public ActionResult TourDetails()
        {
            return View();
        }
    }
}
